﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AiMei.Redis.Core
{

    internal enum RedisMessageType:byte
    {
        /// <summary>
        /// 以 + 开头的单行字符串
        /// </summary>
        SimpleString = 43,

        /// <summary>
        ///  以 - 开头的错误信息
        /// </summary>
        Error = 45,
        /// <summary>
        /// 以 : 开头的整型数据INTEGER
        /// </summary>
        Integer = 58,
        /// <summary>
        /// 以 $ 开头的多行字符串
        /// </summary>
        BulkString = 36,

        /// <summary>
        /// 以 * 开头的数组
        /// </summary>
        ArrayHeader = 42
    }
}
